//
//  CollectionViewCell.m
//  UI_19_网络解析_汽车之家
//
//  Created by li cheng on 16/8/10.
//  Copyright © 2016年 li cheng. All rights reserved.
//

#import "CollectionViewCell.h"

@implementation CollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        _myImageView = [[UIImageView alloc] init];
        [self.contentView addSubview:_myImageView];
    }
    return self;
}
- (void)layoutSubviews{
    [super layoutSubviews];
    _myImageView.frame = self.contentView.bounds;
}
@end
